package cn.dansj.common.utils.spring.request.servlet;

import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;

class NonServletInputStream extends ServletInputStream {
    public static final NonServletInputStream INSTANCE = new NonServletInputStream();

    @Override
    public boolean isFinished() {
        return false;
    }

    @Override
    public boolean isReady() {
        return false;
    }

    @Override
    public void setReadListener(ReadListener listener) {

    }

    @Override
    public int read() {
        return 0;
    }
}
